From f7d3e7d055f5ef2d11e3dc4999b6820cc0c3cc2a Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 30 May 1993 19:40:39 +0000 Subject: [PATCH] * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of `(cd foo ; pwd)` to get the canonical name of a directory; cd might fail, and have pwd print out the current directory. --- lib-src/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 135b7b3d4f0..27567bdf87d 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -116,7 +116,7 @@ ${archlibdir}: all @echo @echo "Installing utilities run internally by Emacs." ./make-path ${archlibdir} - if [ `(cd ${archlibdir};/bin/pwd)` != `/bin/pwd` ]; then \ + if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ for file in ${UTILITIES} ${INSTALLABLES}; do \ cp $${file} ${archlibdir} ; \ chmod 755 ${archlibdir}/$${file} ; \ -- 2.30.2